Creates a hybrid for the current document with the specified name. After creation, content for the new hybrid part can be loaded with the LoadFromFile method or LoadFromTemplate method methods.
Syntax
CreateHybridPart(PartName as String) As IASDocument6
Name | Description |
---|---|
PartName |
The name with which to create the new hybrid part. |
Remarks
Use this method to create a new hybrid part before loading file content with the LoadFromFile method or LoadFromTemplate method methods. Consider using the ImportHybridPart method method instead.
For events to occur for this method, the HybridEvents setting in the [ScriptEvents] section on the Application Integration tab of Application Settings in Configurator must be set to Y (default).